// pages/movieMore/movieMore.js
const movie = require("../../models/movie")
Page({
  data: {
    value:[]
  },
  onLoad: async function (options) {



    let{id,title} = options
    var value = await movie(id);
    this.setData({
      value:value.data.res
    })
    console.log(this.data.value);
    
    // 设置页面nav文字
    wx.setNavigationBarTitle({
      title: `${title}`,
    })
  },
    
})